package com.smart.nacos.consumer.service.impl;


import com.smart.nacos.consumer.api.ProviderApi;
import com.smart.nacos.consumer.service.FeignConsumerService;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;

@Service
public class FeignConsumerServiceImpl implements FeignConsumerService {
    @Resource
    ProviderApi providerApi;

    @Override
    public String hello() {
        String hello = providerApi.hello();
        return hello;
    }
}
